<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\SoftDeletes;

class Content extends BaseModel
{
    use HasFactory, SoftDeletes;
    protected $guarded = [];

    public function items()
    {
        return $this->hasMany(ContentItem::class, 'content_id', 'id');
    }
}